package org.jeecg.modules.villageCadreAssist.service.impl;

import org.jeecg.modules.villageCadreAssist.entity.VcaFileItem;
import org.jeecg.modules.villageCadreAssist.entity.VcaFileTemplate;
import org.jeecg.modules.villageCadreAssist.mapper.VcaFileItemMapper;
import org.jeecg.modules.villageCadreAssist.service.IVcaFileItemService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: vca_file_item
 * @Author: jeecg-boot
 * @Date:   2022-02-23
 * @Version: V1.0
 */
@Service
public class VcaFileItemServiceImpl extends ServiceImpl<VcaFileItemMapper, VcaFileItem> implements IVcaFileItemService {

	@Autowired
	private VcaFileItemMapper vcaFileItemMapper;

	public List<VcaFileItem> selectByTemplate(VcaFileTemplate template){
		return vcaFileItemMapper.selectByTemplate(template);
	}

	@Override
	public List<VcaFileItem> selectByMainId(Integer mainId) {
		return vcaFileItemMapper.selectByMainId(mainId);
	}
}
